#ifndef CONFIG_H
#define CONFIG_H

//
#ifdef _WIN32
#define FC_WIN 1
#elif __linux__

#define FC_LINUX 1

#endif

#if FC_WIN

#define FC_FUNC __FUNCSIG__

#elif FC_LINUX

#define FC_FUNC __PRETTY_FUNCTION__

#endif


#include<iostream>
#include<fstream>
//#include<QDebug>
#define CodeLocation __FILE__ << "->" << FC_FUNC << "():" << __LINE__ << ":"

//#define Terminal_Error qCritical()<<"error is"<<CodeLocation
//#define Terminal_Warn qWarning()<<"warn is"<<CodeLocation
//#define Terminal_Info qDebug()<<"info is"<<CodeLocation


#define Terminal_Error std::cout<<"error is"<<CodeLocation
#define Terminal_Warn std::cout<<"warn is"<<CodeLocation
#define Terminal_Info std::cout<<"info is"<<CodeLocation



/**/
typedef unsigned long int  ulint;



enum FILESIDE{
    Great,
    GreatAndEqual,
    Equal,
    Less,
    LessAndEqual,
    None
};

#endif // CONFIG_H
